<extend name="Base/common_ionic"/>
<block name="style">
<style>
</style>
</block>

<block name="body">
    <div class="bar bar-header bar-stable">
        <a class="button button-icon icon ion-ios-arrow-back" href="javascript:history.go(-1);"></a>
        <div class="h1 title">提现申请</div>
    </div>
    <div class="content has-header">
        <div class="item item-icon-left">
            <i class="icon ion-ios-information-outline"></i>
            <p>提现金额不得小于10元</p>
        </div>
        <div class="space-10"></div>
        <form class="list" method="post" action="{:U('Index/withdrawal_apply')}">
            <input type="hidden" value="{$clientid}" name="clientid" />
            <label class="item item-input">
                <i class="icon ion-social-yen placeholder-icon"></i>
                <input type="text" placeholder="输入提现金额" name="amount">
            </label>
            <label class="item item-input">
                <i class="icon ion-card placeholder-icon"></i>
                <input type="text" placeholder="您的支付宝账户" name="alipay" value="{$account.alipay}">
            </label>
            <if condition="$account.balance gt 1000">
                <button type="submit" class="button button-block button-positive">提交</button>
            <else/>
            <div class="space-10"></div>
                <p>抱歉, 您的可提现金额小于10.0元, 无法提现</p>
            <div class="space-10"></div>
            </if>   
        </form>
    </div>
</block>
